package com.xinsoft.entity.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

import com.xinsoft.entity.vo.CusTestPointVo;
import lombok.Data;

/**
 * 工艺工序设备
 * @TableName mes_craft_device
 */
@TableName(value ="mes_craft_device")
@Data
public class MesCraftDevice implements Serializable {
    /**
     * 工艺工序设备id
     */
    @TableId
    private Integer id;

    /**
     * 工艺工序id
     */
    private Integer craftProcessId;

    /**
     * 工序设备ID
     */
    private Integer deviceId;

    /**
     * 单件工时(分钟)
     */
    private Integer perMinute;

    /**
     * 单件工价
     */
    private BigDecimal perPrice;

    /**
     * 工艺工序检验
     */
    @TableField(exist = false)
    private List<MesCraftCheckRef> craftCheckRefList;

    /**
     * 工艺路线测点
     */
    @TableField(exist = false)
    private List<MesProcessTestpoint> processTestpointList;

    /**
     * 工艺路线测点
     */
    @TableField(exist = false)
    private List<CusTestPointVo> testPointVoList;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}